package wlf.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import wlf.mapper.MenuMapper;
import wlf.pojo.Admin;
import wlf.pojo.Menu;
import wlf.service.MenuService;

@Service
public class MenuServiceImpl implements MenuService {
	@Resource
	private MenuMapper menuMapper;
	
	@Override
	public List<Menu> selMenuByAdmin(Admin admin) {
		return menuMapper.selMenuByAdmin(admin.getId(),0);
	}

	@Override
	public int addMenu(Menu menu) {
		return 0;
	}

	@Override
	public int updMenu(Menu menu) {
		return 0;
	}

	@Override
	public int delMenu(Menu menu) {
		return 0;
	}

}
